package com.itheima.stock.service;

import com.itheima.stock.pojo.domain.*;
import com.itheima.stock.pojo.vo.req.PageResult;
import com.itheima.stock.pojo.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {

    R<List<InnerMarketDomain>> innerIndexAll();

    R<List<BlockRtDomain>> BlockRtAll();

    R<List<OuterMarketDomain>> outerIndexAll();

    R<PageResult<RtDomain>> RtPage(String page,String pageSize);

    R<List<RtDomain>>  RtAll();

    R<Map<String,List>> UpDownCount();

    void exportRtInfo(String page, String pageSize, HttpServletResponse response);

    R<Map<String, List>> stockTradeVol4InnerMarket();

    R<Map> getStockUpDown();

    R<List<Stock4MinuteDomain>> stockScreenTimeSharing(String code);

    R<List<Stock4EvrDayDomain>> getDayKLinData(String code);

    R<List<InnerMarketDomain>> getNewestInnerMarketInfos();

    R<List<RtDomain>> getNewestStockRtInfos();

    R<List<BlockRtDomain>> getNewestBlockRtInfos();

    R<List<OuterMarketDomain>> getNewestOuterMarketInfos();

    R<List<Map>> searchStock(String searchStr);

    R<DescribeDomain> getDescribe(String code);

    R<List<WeekklineDomain>> getWeekkline(String code);

    R<DetailDomain> getRtDetail(String code);

    R<List<TradeDomain>> getRtTrade(String code);
}
